package com.ly.web.controller.home;


import com.ly.service.company.ICompanyService;
import com.ly.web.controller.company.CompanyController;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping("/home")
public class HomeController {
    private static final Logger l = LoggerFactory.getLogger(CompanyController.class);

    @Autowired
    private ICompanyService iCompanyService;

    @RequestMapping(path = "/toMain",method = RequestMethod.GET)
    public String toMain(){
        return "home/main";
    }
}
